<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
<title>${currentUser.username}的主页</title>
<style type="text/css">
  body{
      background-color: gainsboro;
 }
 .text-center {
    color:lightcoral;
 }
 .control-label1 {
                color: white;
	            padding: 10px;
	            width: 70px;
	            margin-left: 18%;
	            /*margin-top: 2%;*/
	            border: 1px solid yellowgreen;
	            background: yellowgreen;
	            border-radius:5px;
	            text-align: center;   
 }
 .control-label2 {
              padding :10px;
              color: burlywood;
 }
 .control-label3 {
                color: white;
	            padding: 10px;
	            width: 170px;
	            margin-left: 18%;
	            /*margin-top: 2%;*/
	            border: 1px solid yellowgreen;
	            background: yellowgreen;
	            border-radius:5px;
	            text-align: center;
 }
 .control-label4 {
              padding :10px;
              color: burlywood;
 }
 .control-label5 {
                color: white;
	            padding: 10px;
	            width: 70px;
	            margin-left: 18%;
	            /*margin-top: 2%;*/
	            border: 1px solid yellowgreen;
	            background: yellowgreen;
	            border-radius:5px;
	            text-align: center;
 }
 #tu1 {
   padding :20px;
 }
 li{
   padding-left:500px;
   text-decoration: none;
   font-size:20px;
 }
</style>
</head>
<body>
<div class="main_div">
	<div class="container">
		<div class="panel panel-default col-md-offset-1 col-md-10 register-panel">
			<div class="h2 text-center">欢迎来到您的主页 !</div>
			<div class="pannel-body">
				<form class="form-horizontal" action="./article" method="post">
					<div class="form-group">
						<label class="control-label1 col-md-4">你好</label>
						<label class="control-label2 col-md-0">${currentUser.username}!</label>
					</div>
					<div class="form-group">
						<label class="control-label3 col-md-4">您已设置的爱好是:</label>
						<label class="control-label4 col-md-0">${currentUser.interests}</label>
					</div>
					<div class="form-group">
						<label class="control-label5 col-md-4 ">头像:</label>
						<img src="./upload/${currentUser.filename}" id="tu1"/>
					</div>

				</form>
			</div>
		</div>
	</div>
</div>
       <li><a href="register.jsp">返回注册</a></li>
       <li id="1"><a href="add.jsp">添加文章</a></li>
       <li id="1"><a href="jslist.jsp">我的微博</a></li>
</body>
</html>
